﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Peer
{
    enum PackageType : byte
    {

        /// <summary>
        /// 空包
        /// </summary>
        Void = 0,

        /// <summary>
        /// 异常包
        /// </summary>
        Error = 1,

        /// <summary>
        /// 数据包
        /// </summary>
        Data = 2,
        /// <summary>
        /// 数据包 需回复
        /// </summary>
        DataWithResponse = 3,

        /// <summary>
        /// 响应空包
        /// </summary>
        Response = 10,

        /// <summary>
        /// 响应错误
        /// </summary>
        ResponseError = 11,
        /// <summary>
        /// 响应数据
        /// </summary>
        ResponseData = 12

    }
}
